package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 经络报告
 * @author dede
 *
 */
@SuppressWarnings("serial")
@TableName(value="meridian_analysis")
public class MeridianAnalysis extends Model<MeridianAnalysis>{

	/**
	 * 主键
	 */
	@TableId(value="ma_id")
	private long maId;
	
	/**
	 * 外键
	 */
	@TableField(value="hmstr_id")
	private long hmstrId;
	
	/**
	 * 症状名称
	 */
	@TableField(value="symptom_name")
	private String symptomName;

	/**
	 * 症状
	 */
	private String symptom;
	
	/**
	 * 建议
	 */
	private String suggest;
	
	public MeridianAnalysis() {
		super();
	}

	public MeridianAnalysis(long maId, long hmstrId, String symptomName, String symptom, String suggest) {
		super();
		this.maId = maId;
		this.hmstrId = hmstrId;
		this.symptomName = symptomName;
		this.symptom = symptom;
		this.suggest = suggest;
	}

	
	public long getMaId() {
		return maId;
	}

	public void setMaId(long maId) {
		this.maId = maId;
	}

	public long getHmstrId() {
		return hmstrId;
	}

	public void setHmstrId(long hmstrId) {
		this.hmstrId = hmstrId;
	}

	public String getSymptomName() {
		return symptomName;
	}

	public void setSymptomName(String symptomName) {
		this.symptomName = symptomName;
	}

	public String getSymptom() {
		return symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public String getSuggest() {
		return suggest;
	}

	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}
	
	@Override
	public String toString() {
		return "MeridianAnalysis [maId=" + maId + ", hmstrId=" + hmstrId + ", symptomName=" + symptomName + ", symptom="
				+ symptom + ", suggest=" + suggest + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return maId;
	}

}
